package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Finance;
import cn.itcast.domain.cargo.FinanceExample;
import cn.itcast.vo.FinanceProductVo;
import cn.itcast.vo.FinanceVo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface FinanceService {
    PageInfo findAll(int page, int size, FinanceExample financeExample);

    Finance findById(String id);

    void save(Finance finance);

    void update(Finance finance);

    void delete(String id);

    Map<String,String> findFinance(String id);

    List<FinanceProductVo> findFinancePrdout(String id);
}
